package com.example.techstudy;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@SpringBootApplication
@MapperScan(basePackages = {"com.example.techstudy.mapper"})
@EnableTransactionManagement
@EnableAsync
public class TechStudyApplication {

    public static void main(String[] args) {
        SpringApplication.run(TechStudyApplication.class, args);
    }
}
